//go:build admin || ignore || all
// +build admin ignore all

package domain

import (
	"context"

	"gitee.com/linxing_3/sr-core/domain"
	"gitee.com/mkwchecking/sr-admin/apps/admin"
)

func init() {
	RegisterDomainInject(&DomainInject{
		Name:        "Admin",
		Description: "提供系统管理功能,包括角色、用户、部门等",
		Factory: func(ctx context.Context) domain.IDomain {
			return admin.NewSysDomain()
		},
	})
}
